package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.InventoryRecordDTO;
import com.arpa.wms.domain.entity.InventoryRecord;
import com.arpa.wms.domain.vo.InventoryRecordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: Allen chen
 * @Date 2020/8/25
 * @Description:
 */
public interface InventoryRecordMapper extends BaseMapper<InventoryRecord> {

    List<InventoryRecordVO> queryList(InventoryRecordDTO inventoryRecordDTO);

    InventoryRecordVO queryListSum(InventoryRecordDTO containerDTO);

    /**
     * 执行原生sql
     * @param sql
     */
    void execSql(@Param("sql") String sql);
}
